<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>当一个行被接收时读取一个字符并且通知 readline 调用回调函数</title>
 </head>
 <body class="docs"><div id="layout">
  <div id="layout-content"><div id="function.readline-callback-read-char" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">readline_callback_read_char</h1>
  <p class="verinfo">(PHP 5 &gt;= 5.1.0, PHP 7)</p><p class="refpurpose"><span class="refname">readline_callback_read_char</span> &mdash; <span class="dc-title">当一个行被接收时读取一个字符并且通知 readline 调用回调函数</span></p>

 </div>
 
 <div class="refsect1 description" id="refsect1-function.readline-callback-read-char-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>readline_callback_read_char</strong></span>
    ( <span class="methodparam">void</span>
   ) : <span class="type"><span class="type void">void</span></span></div>

  <p class="para rdfs-comment">
   读取用户输入中的一个字符.当一行被接收时，这个函数将通知 readline 调用使用
   <span class="function"><a href="readline_callback_handler_install.html" class="function">readline_callback_handler_install()</a></span> 安装的回调函数接口，并且
   这一个行已经准备输入.
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.readline-callback-read-char-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   没有返回值。
  </p>
 </div>

 
 <div class="refsect1 examples" id="refsect1-function.readline-callback-read-char-examples">
  <h3 class="title">范例</h3>
  <p class="para">
   See <span class="function"><a href="readline_callback_handler_install.html" class="function">readline_callback_handler_install()</a></span> for an example
   of how to use the readline callback interface.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.readline-callback-read-char-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="function"><a href="readline_callback_handler_install.html" class="function" rel="rdfs-seeAlso">readline_callback_handler_install()</a> - 初始化一个 readline 回调接口，然后终端输出提示信息并立即返回</span></li>
    <li class="member"><span class="function"><a href="readline_callback_handler_remove.html" class="function" rel="rdfs-seeAlso">readline_callback_handler_remove()</a> - 移除上一个安装的回调函数句柄并且恢复终端设置</span></li>
   </ul>
  </p>
 </div>


</div></div></div></body></html>